package com.nuanshui.heatedloan.baseservice.model;

import com.nuanshui.heatedloan.dal.BaseEntityImpl;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.Size;
import java.util.Date;

public class Opinion extends BaseEntityImpl {

	private static final long serialVersionUID = 1L;
	private String nickname;//昵称
	private String contactContext;//联系内容手机或者邮箱
	@NotEmpty
	@Size(min=1,max=500)
	private String context;//内容
	private int status;
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getContactContext() {
		return contactContext;
	}
	public void setContactContext(String contactContext) {
		this.contactContext = contactContext;
	}
	public String getContext() {
		return context;
	}
	public void setContext(String context) {
		this.context = context;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
}
